package com.caocaog.market.data.transfer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.caocaog.market.modules.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author liguang
 * @version 1.0.0
 * @Project jeecg-boot
 * @Package com.caocaog.market.data.transfer.entity
 * @ClassName MkSiteArea.java
 * @createTime 2021年11月18日 10:34:00
 * @Description TODO
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("mk_site_area")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mysql库中的mk_site_area对象", description="分站（代理商）区域表，接收的是sqlserver库的cc_agent_area_tolead表中的数据")
public class MkSiteArea  extends BaseEntity {
    @ApiModelProperty(value="新库中分站id，对应mk_site_basic表中的id字段")
    private String siteId;
    @ApiModelProperty(value="代理商名称")
    private transient String siteName;

    @ApiModelProperty(value="省代码")
    private String provinceAdcode;
    @ApiModelProperty(value="省名称")
    private String provinceName;
    @ApiModelProperty(value="省中心点")
    private String provinceCenter;

    @ApiModelProperty(value="市代码")
    private String cityAdcode;
    @ApiModelProperty(value="市名称")
    private String cityName;
    @ApiModelProperty(value="市中心点")
    private String cityCenter;

    @ApiModelProperty(value="县区代码")
    private String districtAdcode;
    @ApiModelProperty(value="县区名称")
    private String districtName;
    @ApiModelProperty(value="县区中心点")
    private String districtCenter;

    @ApiModelProperty(value="乡镇代码")
    private String townAdcode;
    @ApiModelProperty(value="乡镇名称")
    private String townName;
    @ApiModelProperty(value="乡镇中心点")
    private String townCenter;

    @ApiModelProperty(value="参数（区域名称）", hidden = true)
    private transient String areaName;

    @ApiModelProperty(value = "距离", hidden = true)
    private transient Double distance;
}
